home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / len_trim.z / len_trim
Encoding:
Text File  |  2002-10-03  |  1.5 KB  |  41 lines

  1. LEN_TRIM(3I)                                          Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      LLEENN__TTRRIIMM - Returns the length of the character argument without
  6.      counting trailing blank characters
  7.  
  8. SSYYNNOOPPSSIISS
  9.      LLEENN__TTRRIIMM (([SSTTRRIINNGG==]_s_t_r_i_n_g))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, IRIX systems
  13.  
  14.      CF90, MIPSpro 7 Fortran 90
  15.  
  16. SSTTAANNDDAARRDDSS
  17.      Fortran
  18.  
  19. DDEESSCCRRIIPPTTIIOONN
  20.      The LLEENN__TTRRIIMM intrinsic function returns the length of the character
  21.      argument without counting trailing blank characters.  It accepts the
  22.      following argument:
  23.  
  24.      _s_t_r_i_n_g    Must be of type character
  25.  
  26.      LLEENN__TTRRIIMM is an elemental function.  The name of this intrinsic cannot
  27.      be passed as an argument.
  28.  
  29. RREETTUURRNN VVAALLUUEESS
  30.      The result type is default integer.  The result has a value equal to
  31.      the number of characters remaining after any trailing blanks in _s_t_r_i_n_g
  32.      are removed.  If the argument contains no nonblank characters, the
  33.      result is 0.
  34.  
  35. EEXXAAMMPPLLEESS
  36.      LLEENN__TTRRIIMM(('' AA BB  '')) has the value 4.  LLEENN__TTRRIIMM((''  '')) has the value 0.
  37.  
  38. SSEEEE AALLSSOO
  39.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  40.      man page.
  41.